#!/usr/bin/env bash

APP=ingress-nginx

[ -d /opt/helm/$APP ] || mkdir /opt/helm/$APP
cd /opt/helm/$APP

helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx
helm repo update
helm fetch ingress-nginx/ingress-nginx
tar -zxvf ingress-nginx*.tgz && cd ingress-nginx
tree .

#https://zhuanlan.zhihu.com/p/611273859